package myproj1;
public class Computer {
    private String brand;
    private String model;
    private String cpu;
    private int ram; 

    public Computer(String brand, String model, String cpu, int ram) {
        this.brand = brand;
        this.model = model;
        this.cpu = cpu;
        this.ram = ram;
    }

    
    public String toString() {
        return "Brand: " + brand + ", Model: " + model + ", CPU: " + cpu + ", RAM: " + ram + " GB";
    }
}




